package com.flower8.service;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: tanglin
 * @Date: 2019/11/14 19:31
 * @Version: 1.0
 */
public interface RedbagService {
    /**
     * 扫描过期红包
     * @throws Exception
     */
    void updateExpireRedbag()throws Exception;

    /**
     * 查询红包、大转盘商品
     * @param flag 1 :红包  2：大转盘
     * @return
     * @throws Exception
     */
    List<Map> getGoodsList(long flag)throws Exception;
}
